package com.micromsg.basic.sys.vo.response;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 消息表列表实体类
 *
 * @author yangyang
 * @date 2024/04/06
 **/
@Data
public class MessageResponseVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "发送人USERID")
    private String senderId;

    @ApiModelProperty(value = "接收人USERID")
    private String receiverId;

    @ApiModelProperty(value = "消息内容")
    private String content;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "消息发送时间")
    private Date sendTime;

    @ApiModelProperty(value = "标识消息是否已被发送")
    private Byte send;

    @ApiModelProperty(value = "文件路径或标识符")
    private String filePath;

    @ApiModelProperty(value = "字体样式")
    private String fontStyle;
}
